package enterprise.manage.service.impl;

import enterprise.manage.dao.OrderDao;
import enterprise.manage.entity.Orders;
import enterprise.manage.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by IntelliJ IDEA.
 * User:zhenmingyue
 * Date: 2012-11-25
 * Desc:
 */
@Service("orderService")
@Transactional
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderDao orderDao;

    @Override
    public void save(Orders order) {
        orderDao.save(order);
    }
}
